//
//  UserDefaults.h
//  UserDefaults
//
//  Created by yintr on 15/9/4.
//  Copyright (c) 2015年 asput. All rights reserved.
//

#import <Foundation/Foundation.h>
//用户数据保存
@interface UserDefaults : NSUserDefaults

+(id)readUserDefaultObjectValueForKey:(NSString*)aKey;
+(void)writeUserDefaultObjectValue:(NSObject*)aValue withKey:(NSString*)aKey;
+(void)clearUserDefaultWithKey:(NSString *)key;
+(void)createList;
//+(void)writeUserDefaultHouseObjectValue:(NSObject*)aValue withKey:(NSString*)aKey;
//+(id)readUserDefaultHouseObjectValueForKey:(NSString*)aKey;

+(void)writeToPlist:(NSObject*)aValue withKey:(NSString*)aKey;
+ (id)readFromPlist:(NSString *)aKey;
@end
